package com.crm.business.crm.service;

import com.crm.business.servlet.BaseService;
import com.crm.common.crm.entity.BO.CrmRoiPutinPageBO;
import com.crm.common.crm.entity.PO.CrmRoiStatis;
import com.crm.common.crm.entity.PO.CrmRoiYearStatis;
import com.crm.common.crm.entity.VO.CrmRoiStatisVO;
import com.crm.common.ka.core.entity.BasePage;

import java.util.Map;


/**
 * <p>
 * 投放消耗表 服务类
 * </p>
 *
 * @author zhangzhiwei
 * @since 2020-05-21
 */
public interface ICrmRoiYearStatisService extends BaseService<CrmRoiYearStatis> {

    public void statisYearRoi();

    public void roiYearStatis();

    public void roiYearStatisForSource();

    /**
     * ROI年度统计
     * @param source
     * @return
     */
    public Map<String,Object> roiStatisForYear(String source);

    /**
     * 客单价年度统计
     * @param source
     * @return
     */
    public Map<String,Object> priceStatisForYear(String source);

}
